package InheritanceDemo3;

public class Animal {
    public void eat() {
        System.out.println("动物吃东西");
    }

    public void move(int speed) {
        System.out.println("动物以" + speed + "速度移动");
    }
}
